import Mock from "mockjs";

import myroom from "./myroom.json";
import Collections from './Collections.json'
import MediaCache from './MediaCache.json'
import viewRecords from './viewRecords.json'

Mock.mock('/mock-apis/trainingCenter/plans/search/findByUserId', {
  code: 200,
  data: myroom,
  message: "成功",
});

Mock.mock('/mock-apis/userCenter/userVideoCacheSyncs/collect/findByType', {
  code: 200,
  data: MediaCache,
  message: "成功",
});

Mock.mock('/mock-apis/moment/favoriteRecords/search/findByUserId', {
  code: 200,
  data: Collections,
  message: "成功",
});

Mock.mock('/mock-apis/moment/viewRecords', {
  code: 200,
  data: viewRecords,
  message: "成功",
});
